<template>
	<view>
		<dsl-navbar :title="agreementData.ttitle" bgTopImg="white" isBack=""></dsl-navbar>
		<view class="padding-sm">
			<view v-html="agreementData.content"></view>
		</view>
	</view>
</template>

<script>
	import {
		mapState,
		mapActions
	} from 'vuex'
	export default {
		data() {
			return {

			}
		},
		onReady() {},
		onLoad(option) {
			this.getAgreement({
				type: option.id
			})

		},
		onShow() {},
		methods: {
			/**
			 * getAgreement 协议
			 */
			...mapActions('system', ['getAgreement']),
		},
		computed: {
			/**
			 * agreementData 协议内容
			 */
			...mapState('system', ['agreementData']),
		},
		components: {},
	}
</script>

<style>
</style>
